<h2>Change password for user <?php echo CHtml::encode($model->username); ?></h2>
<?php
$this->widget('application.widgets.SubMenu', array (
"items" => array('show', 'update', 'admin')
));
?>


<div class="yiiForm">

<?php

echo CHtml::beginForm();
echo CHtml::activeHiddenField($model, 'username');
?>

<?php echo CHtml::errorSummary($model); ?>

<div class="simple">
<?php echo CHtml::activeLabelEx($model,'password'); ?><span class="required">*</span>
<?php echo CHtml::activePasswordField($model,'password',array('size'=>50,'maxlength'=>50,'text'=>'')); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'password_check'); ?><span class="required">*</span>
<?php echo CHtml::activePasswordField($model,'password_check',array('size'=>50,'maxlength'=>50,'text'=>'')); ?>
</div>

<div class="action">
<?php echo CHtml::submitButton(Yii::t('views', 'Change password')); ?>
</div>

<?php echo CHtml::endForm(); ?>

</div><!-- yiiForm -->